import java.util.Random;

/**
 * Created by dllo on 18/4/2.
 */
public class Question01 {
    public static void main(String[] args) {
        Random random = new Random();
        int[] arr = new int[20];

        for (int i = 0; i < arr.length; i++) {
            arr[i] = random.nextInt(10);
            if (arr[i] % 2 == 0) {
                System.out.println(arr[i]);
            }
        }
    }
}
